(function sleep_3000() {
    setTimeout(() => {
        console.log('延迟3秒')
        document.getElementById('myDiv').style.backgroundColor = '#00CED1'
    }, 3000)
})()